export function transformData(type) {
  let typeNum = 1
  switch (type) {
    case 'A1':
      typeNum = 1
      break
    case 'A2':
      typeNum = 5
      break
    case 'B':
      typeNum = 4
      break
    case 'X':
      typeNum = 2
      break
    default:
      typeNum = 3
      break
  }
  return typeNum
}
